package com.cn.springcloudwechat.mapper.mapper.articleAndMenu;


import com.cn.springcloudwechat.model.articleAndMenu.YmActivityArticle;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @program: YmActivityArticleMapper
 * @author: Administrator
 * @create: 2018-07-19 11:38
 */
@Repository
public interface YmActivityArticleMapper {
    /**
     * 添加活动
     *
     * @param record
     * @return
     */
    int insertSelective(YmActivityArticle record);

    /**
     * 获取活动文章
     *
     * @param record
     * @return
     */
    List<YmActivityArticle> getActivityArticle(YmActivityArticle record);

    /**
     * 更新活动文章
     *
     * @param record
     */
    void updateActivityArticle(YmActivityArticle record);


}